package ecnu.liwaTest.dd.pages;

import org.openqa.selenium.By;


import static ecnu.liwaTest.dd.DriverSingleton.*;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.MatcherAssert.assertThat;

public class HelpPage extends BasePage {

    public HelpPage goHelpPage() {
        driver.findElement(By.cssSelector(".el-menu-item:nth-child(4) > span")).click();
        waitForWindow(1000);
        assertThat(driver.getTitle(), is("求助记录列表"));
        return this;
    }

}
